﻿using Microsoft.Practices.Prism.ViewModel;
using System;
using System.Windows.Controls;

namespace HobSoft.SoccerBet2014.Client.ViewModels
{
    public class ModelErrorsContainer : ErrorsContainer<ValidationResult>
    {
        public ModelErrorsContainer(Action<string> raiseErrorsChanged)
            : base(raiseErrorsChanged)
        {

        }

        public void ClearErrors()
        {
            validationResults.Clear();
        }
    }
}
